$(function () {
    $("#xsps_psfy").numberbox({
        min: 0,
        max: 99999999999,
        precision: 4,
        groupSeparator:","
    })

    $("[name='xsps.wls.id']").combobox({
        url: $.webPath() + '/organ/wls/wlsInuseList',
        valueField: 'id',
        textField: 'qc',
        panelHeight: '200',
        editable:true,
        onChange: function (newValue, oldValue) {
           $('#xsps_shch').combobox({
               url: $.webPath() + '/organ/ysgj/ysgjList?wlsId='+newValue,
               valueField: 'ysgjsbm',
               textField: 'ysgjsbm',
               panelHeight: '200',
               editable:true
           });
            $('#xsps_lxdh').combobox({
                url: $.webPath() + '/organ/ysgj/ysgjList?wlsId='+newValue,
                valueField: 'sjhm',
                textField: 'sjhm',
                panelHeight: '200',
                editable:true
            });
        }
    });


});







